package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 小说
 * TableName : FICTION
 * ClassName : com.swlz.entity.Fiction
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-20 18:05:50
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("FICTION")
public class Fiction  {


	/**
	 * <pre>小说编号 - FICTION_ID</pre>
	 **/
	@Id
	private Long fictionId;
	/**
	 * <pre>用户编号 - USER_ID</pre>
	 **/
	private Long userId;
	/**
	 * <pre>小说类别编号 - FICTION_TYPE_ID</pre>
	 **/
	private Long fictionTypeId;
	/**
	 * <pre>小说名称 - FICTION_NAME</pre>
	 **/
	private String fictionName;
	/**
	 * <pre>小说上架时间 - FICTION_TIME</pre>
	 **/
	@JSONField(format="yyyy-MM-dd HH:mm")
	private java.util.Date fictionTime;
	/**
	 * <pre>小说标签 - FICTION_TAGS</pre>
	 **/
	private String fictionTags;
	/**
	 * <pre>小说图片 - FICTION_IMG</pre>
	 **/
	private String fictionImg;
	/**
	 * <pre>小说简介 - FICTION_MEMO</pre>
	 **/
	private String fictionMemo;
	/**
	 * <pre>小说章节数 - FICTION_SECTION_NUM</pre>
	 **/
	private Integer fictionSectionNum;
	/**
	 * <pre>小说字数 - FICTION_NUM</pre>
	 **/
	private Integer fictionNum;
	/**
	 * <pre>小说收藏数 - FICTION_FAVORITE_NUM</pre>
	 **/
	private Integer fictionFavoriteNum;
	/**
	 * <pre>小说阅读数 - FICTION_READ_NUM</pre>
	 **/
	private Integer fictionReadNum;
	/**
	 * <pre>小说打赏积分 - FICTION_SCORE</pre>
	 **/
	private Integer fictionScore;
	/**
	 * <pre>小说最后更新时间 - FICTION_LAST_TIME</pre>
	 **/
	@JSONField(format="yyyy-MM-dd HH:mm")
	private java.util.Date fictionLastTime;
	/**
	 * <pre>小说状态
	 *             0 - 创建，未通过审核
	 *             1 - 上架，连载中
	 *             2 - 完结 - FICTION_STATUS</pre>
	 **/
	private Integer fictionStatus;


	/**
	 * <pre>获取小说编号</pre>
	 **/
	public Long getFictionId() {
        return fictionId;
    }

	/**
	 * <pre>设置小说编号</pre>
	 **/
    public void setFictionId(Long fictionId) {
        this.fictionId = fictionId;
    }

	/**
	 * <pre>获取用户编号</pre>
	 **/
	public Long getUserId() {
        return userId;
    }

	/**
	 * <pre>设置用户编号</pre>
	 **/
    public void setUserId(Long userId) {
        this.userId = userId;
    }

	/**
	 * <pre>获取小说类别编号</pre>
	 **/
	public Long getFictionTypeId() {
        return fictionTypeId;
    }

	/**
	 * <pre>设置小说类别编号</pre>
	 **/
    public void setFictionTypeId(Long fictionTypeId) {
        this.fictionTypeId = fictionTypeId;
    }

	/**
	 * <pre>获取小说名称</pre>
	 **/
	public String getFictionName() {
        return fictionName;
    }

	/**
	 * <pre>设置小说名称</pre>
	 **/
    public void setFictionName(String fictionName) {
        this.fictionName = fictionName;
    }

	/**
	 * <pre>获取小说上架时间</pre>
	 **/
	public java.util.Date getFictionTime() {
        return fictionTime;
    }

	/**
	 * <pre>设置小说上架时间</pre>
	 **/
    public void setFictionTime(java.util.Date fictionTime) {
        this.fictionTime = fictionTime;
    }

	/**
	 * <pre>获取小说标签</pre>
	 **/
	public String getFictionTags() {
        return fictionTags;
    }

	/**
	 * <pre>设置小说标签</pre>
	 **/
    public void setFictionTags(String fictionTags) {
        this.fictionTags = fictionTags;
    }

	/**
	 * <pre>获取小说图片</pre>
	 **/
	public String getFictionImg() {
        return fictionImg;
    }

	/**
	 * <pre>设置小说图片</pre>
	 **/
    public void setFictionImg(String fictionImg) {
        this.fictionImg = fictionImg;
    }

	/**
	 * <pre>获取小说简介</pre>
	 **/
	public String getFictionMemo() {
        return fictionMemo;
    }

	/**
	 * <pre>设置小说简介</pre>
	 **/
    public void setFictionMemo(String fictionMemo) {
        this.fictionMemo = fictionMemo;
    }

	/**
	 * <pre>获取小说章节数</pre>
	 **/
	public Integer getFictionSectionNum() {
        return fictionSectionNum;
    }

	/**
	 * <pre>设置小说章节数</pre>
	 **/
    public void setFictionSectionNum(Integer fictionSectionNum) {
        this.fictionSectionNum = fictionSectionNum;
    }

	/**
	 * <pre>获取小说字数</pre>
	 **/
	public Integer getFictionNum() {
        return fictionNum;
    }

	/**
	 * <pre>设置小说字数</pre>
	 **/
    public void setFictionNum(Integer fictionNum) {
        this.fictionNum = fictionNum;
    }

	/**
	 * <pre>获取小说收藏数</pre>
	 **/
	public Integer getFictionFavoriteNum() {
        return fictionFavoriteNum;
    }

	/**
	 * <pre>设置小说收藏数</pre>
	 **/
    public void setFictionFavoriteNum(Integer fictionFavoriteNum) {
        this.fictionFavoriteNum = fictionFavoriteNum;
    }

	/**
	 * <pre>获取小说阅读数</pre>
	 **/
	public Integer getFictionReadNum() {
        return fictionReadNum;
    }

	/**
	 * <pre>设置小说阅读数</pre>
	 **/
    public void setFictionReadNum(Integer fictionReadNum) {
        this.fictionReadNum = fictionReadNum;
    }

	/**
	 * <pre>获取小说打赏积分</pre>
	 **/
	public Integer getFictionScore() {
        return fictionScore;
    }

	/**
	 * <pre>设置小说打赏积分</pre>
	 **/
    public void setFictionScore(Integer fictionScore) {
        this.fictionScore = fictionScore;
    }

	/**
	 * <pre>获取小说最后更新时间</pre>
	 **/
	public java.util.Date getFictionLastTime() {
        return fictionLastTime;
    }

	/**
	 * <pre>设置小说最后更新时间</pre>
	 **/
    public void setFictionLastTime(java.util.Date fictionLastTime) {
        this.fictionLastTime = fictionLastTime;
    }

	/**
	 * <pre>获取小说状态
	 *             0 - 创建，未通过审核
	 *             1 - 上架，连载中
	 *             2 - 完结</pre>
	 **/
	public Integer getFictionStatus() {
        return fictionStatus;
    }

	/**
	 * <pre>设置小说状态
	 *             0 - 创建，未通过审核
	 *             1 - 上架，连载中
	 *             2 - 完结</pre>
	 **/
    public void setFictionStatus(Integer fictionStatus) {
        this.fictionStatus = fictionStatus;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("fictionId=");
    	str.append(fictionId);
    	str.append(", ");
    	str.append("userId=");
    	str.append(userId);
    	str.append(", ");
    	str.append("fictionTypeId=");
    	str.append(fictionTypeId);
    	str.append(", ");
    	str.append("fictionName=");
    	str.append(fictionName);
    	str.append(", ");
    	str.append("fictionTime=");
    	str.append(fictionTime);
    	str.append(", ");
    	str.append("fictionTags=");
    	str.append(fictionTags);
    	str.append(", ");
    	str.append("fictionImg=");
    	str.append(fictionImg);
    	str.append(", ");
    	str.append("fictionMemo=");
    	str.append(fictionMemo);
    	str.append(", ");
    	str.append("fictionSectionNum=");
    	str.append(fictionSectionNum);
    	str.append(", ");
    	str.append("fictionNum=");
    	str.append(fictionNum);
    	str.append(", ");
    	str.append("fictionFavoriteNum=");
    	str.append(fictionFavoriteNum);
    	str.append(", ");
    	str.append("fictionReadNum=");
    	str.append(fictionReadNum);
    	str.append(", ");
    	str.append("fictionScore=");
    	str.append(fictionScore);
    	str.append(", ");
    	str.append("fictionLastTime=");
    	str.append(fictionLastTime);
    	str.append(", ");
    	str.append("fictionStatus=");
    	str.append(fictionStatus);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}